<?php include get_partial('_header');?>
<?php
if ($articles) {
?>
<ul>
<?php 
  foreach ($articles as $article) {
?>
  <li><a href="<?php echo url('index.php?module=article&action=show&id=' . $article['id']);?>"><?php echo $article['title'];?></a></li>
<?php
  }
?>
</ul>
<?php
} else {
?>
  no article
<?php 
}
?>
<?php include get_partial('footer');?>